package com.niit.session7;

import java.util.Scanner;

public class GameMenu {
	public static void main(String[] args) {
		System.out.println("1.继续");
		System.out.println("2.新游戏");
		System.out.println("3.读取游戏");
		System.out.println("4.选项");
		System.out.println("5.我的奖励");
		System.out.println("6.退出游戏");
		Scanner sc = new Scanner(System.in);
		System.out.print("请输入你的选择：");
		int menu = sc.nextInt();
		switch (menu) {
		case 1:
			System.out.println("继续");
			break;
		case 2:
			System.out.println("新游戏");
			break;
		case 3:
			System.out.println("读取游戏");
			break;
		case 4:
			System.out.println("选项");
			break;
		case 5:
			System.out.println("我的奖励");
			break;
		case 6:
			System.out.println("退出游戏");
			break;
		}
	}

}
